/**
 * @file Global.hpp
 * @author Derek Liu (yjkhtddx@sina.com)
 * @brief 全局变量
 * @version 0.0.1
 * @date 2020-07-18
 * 
 * @coryright Copyright Sci-Tech Laboratories (c) 2020
 * 
 */

#pragma once

#include <string>
#include <stdint.h>
#include <eXosip2/eXosip.h>

extern eXosip_t *g_excontext;

extern std::string g_local_sip_cfg_svr_id;
extern std::string g_local_sip_cfg_svr_domain;
extern std::string g_local_sip_cfg_svr_ip;
extern uint16_t g_local_sip_cfg_svr_port;

extern std::string g_remote_sip_cfg_svr_id;
extern std::string g_remote_sip_cfg_svr_domain;
extern std::string g_remote_sip_cfg_svr_ip;
extern uint16_t g_remote_sip_cfg_svr_port;
extern std::string g_remote_sip_cfg_passwd;

extern std::string g_sip_from_ipport;
extern std::string g_sip_from_domain;
extern std::string g_sip_proxy_ipport;
extern std::string g_sip_proxy_domain;